WOPB\NamePrice A

Total Complexity 70
Dependencies 0
Dependents 1
Total lines 529
Lines of code 317
Logical lines of code 162
Comment lines 166
Methods 20
Properties 1

Methods 20

Method Rating Maintainability Complexity Lines of code
common_data()
B
39 18 68
add_to_cart_validation()
A
51 10 23
loop_add_to_cart_link()
S
55 7 17
display_price_in_cart()
S
58 5 15
generate_fields()
S
43 2 57
save_product_fields()
S
53 4 22
generate_css()
S
49 2 34
shop_add_cart_label_text()
S
67 4 7
single_add_cart_label_text()
S
66 3 8
__construct()
S
56 1 16
product_suggested_name_price()
S
69 2 7
get_data()
S
74 2 4
set_custom_prices()
S
68 2 7
cart_item_price()
S
71 2 6
simple_product_fields()
S
77 1 4
save_variable_product_fields()
S
80 1 3
save_simple_product_fields()
S
81 1 3
get_all_variations()
S
70 1 6
variable_product_fields()
S
75 1 4
min_max_generate()
S
68 1 6